package com.digitalchina.lxnsy.activity.old;

import android.webkit.JavascriptInterface;

import com.digitalchina.lxnsy.base.BaseHtmlActivity;

/**
 * ================================================
 * 项目名称：android
 * 类描述：交易详情
 * 包名：com.digitalchina.assetvaluation.ui.activity
 * 创建人：yzm
 * 创建时间：2019/3/11 14:54
 * 修改备注：
 * ================================================
 */
public class TradeRecordDetailActivity extends BaseHtmlActivity {

    private String json = "";

    @Override
    protected void loadHtml() {
        webView.addJavascriptObject(new JsApi(), null);
        loadUrl("traderecord-details");
        setTitle("交易详情");

        json = (String) getIntent().getSerializableExtra("msg");
    }


    @Override
    public void rightOnClick() {

    }

    public class JsApi {

        @JavascriptInterface
        public String getJson(Object msg) {
            return json;
        }
    }
}
